Skip to main content
Version: 1.0.16

ALTER TEXT SEARCH PARSER

ALTER TEXT SEARCH PARSER — Change the Definition of a Text Search Parser

Synopsis

ALTER TEXT SEARCH PARSER name RENAME TO new_name

ALTER TEXT SEARCH PARSER name SET SCHEMA new_schema

Description

ALTER TEXT SEARCH PARSER changes the definition of a text search parser. Currently, the only supported functionality is changing the parser's name.

You must be a superuser to use ALTER TEXT SEARCH PARSER.

Parameters

name

The name (optionally schema-qualified) of an existing text search parser.

new_name

The new name of the text search parser.

new_schema

The new schema for the text search parser.

See Also

CREATE TEXT SEARCH PARSER, DROP TEXT SEARCH PARSER